﻿@model WebShop.Models.Order

@{
    ViewBag.Title = "Create";
}

<h2>Create</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        @Html.HiddenFor(model => model.Customer_Id)
        @Html.HiddenFor(model => model.Created)
        <legend>Order</legend>

        <div class="editor-label">
            Att:
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Delevery_Att)
            @Html.ValidationMessageFor(model => model.Delevery_Att)
        </div>

        <div class="editor-label">
            Delevery Name
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Delevery_Name)
            @Html.ValidationMessageFor(model => model.Delevery_Name)
        </div>

        <div class="editor-label">
            Delevery Street
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Delevery_Street)
            @Html.ValidationMessageFor(model => model.Delevery_Street)
        </div>

        <div class="editor-label">
            Delevery Zip
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Delevery_Zip)
            @Html.ValidationMessageFor(model => model.Delevery_Zip)
        </div>

        <div class="editor-label">
            Delevery City
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Delevery_City)
            @Html.ValidationMessageFor(model => model.Delevery_City)
        </div>
        <div class="editor-label">
            Order Reference)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Cust_Order_Ref)
            @Html.ValidationMessageFor(model => model.Cust_Order_Ref)
        </div>

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}


@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
